﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace KWT.DRG_DIP.API.Migrations
{
    /// <inheritdoc />
    public partial class _20250429112010 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "DeptName",
                table: "Sys_List",
                newName: "CategoryName");

            migrationBuilder.RenameColumn(
                name: "DeptID",
                table: "Sys_List",
                newName: "CategoryID");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "CategoryName",
                table: "Sys_List",
                newName: "DeptName");

            migrationBuilder.RenameColumn(
                name: "CategoryID",
                table: "Sys_List",
                newName: "DeptID");
        }
    }
}
